package com.vrms.app.dao;

import com.vrms.app.entity.Patients;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PatientsDao {
    List<Patients> listPage(@Param("page")int page,
                            @Param("size")int size,
                            @Param("username")String username);

    int count(@Param("username") String username);

    int save(Patients patients);

    int update(Patients patients);

    int remove(int id);

    List<Patients> list();
}
